<template>
	<view class="content">
		<view class="container">
			<image src="../../static/img/close.png" class="close-btn"></image>
			<view class="header-img">
				<image src=""></image>
				<view>
					<text>宁波海洋世界门票成人票</text>
					<view><image src=""></image><text>已售1000+</text></view>
				</view>
			</view>
			<view class="header">
				<text>购买须知</text>
			</view>
			<view class="list-need">
				<text class="icon">可订明日</text>
				<text>最早可订明日，需出行前1天的23:59前购买</text>
			</view>
			<view class="list-need">
				<text class="icon">无需换票</text>
				<text>无需换票，持【商家券码】直接入园</text>
			</view>
			<view class="list-need">
				<text class="icon">随时退</text>
				<text>未消费随时可退款，1个工作日内自动退款。过期未消费自动退款。下单后不支持改期。</text>
			</view>
			<view class="list-need last">
				<text class="icon">出票速度</text>
				<text>平均1秒出票</text>
			</view>
			<view class="explain-list">
				<text class="title">使用说明</text>
				<view><text>费用包含:</text><text>08:30-17:15</text></view>
				<view><text>入园地址:</text><text>景区检票处</text></view>
			</view>
			<view class="explain-list">
				<text class="title">费用说明</text>
				<view><text>费用包含:</text><text>宁波海洋世界门票成人票1张；</text></view>
			</view>
			<view class="explain-list">
				<text class="title">其他说明</text>
				<view><text>其他说明:</text><text>此产品有商家开具发票。若需要发票，请在消费前和商家联系确认开票方法。</text></view>
			</view>
			<view class="btn-group">
				<view>
					<view>
						<image src=""></image>
						<text>联系商家</text>
					</view>
				</view>
				<view>
					<view>
						<image src=""></image>
						<text>安全须知</text>
					</view>
				</view>
			</view>
			<view class="total-money">
				<view class="money">
					<view class="price"><text>¥<i>175</i></text><text>起<i>180</i></text></view>
					<text class="discount">已减5元</text>
				</view>
				<view class="btn">立即预购</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {

		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.content{
		width: 100%;
		min-height: 100%;
		background: rgba(0,0,0,.5);
		position: fixed;
		top:0;
		left: 0;
		.container{
			position: absolute;
			bottom: 0;
			left: 0;
			width: 100%;
			max-height: 90%;
			overflow: scroll;
			background: #fff;
			border-top-left-radius: 30upx;
			border-top-right-radius: 30upx;
			padding: 42upx 30upx 0;
			.close-btn{
				width: 26upx;
				height: 26upx;
				position: absolute;
				top: 30upx;
				right: 30upx;
			}
			.header-img{
				display: flex;
				align-items: center;
				padding-bottom: 40upx;
				border-bottom: 1px solid rgba(190, 193, 196, .25);
				margin-bottom: 26upx;
				&>image{
					width: 140upx;
					height: 140upx;
					border-radius: 10upx;
					background: #999;
					margin-right: 22upx;
				}
				view{
					display: flex;
					flex-direction: column;
					text{
						font-size: 34upx;
						color: #323332;
						font-weight: bold;
					}
					view{
						display: flex;
						image{
							width: 30upx;
							height: 30upx;
						}
						text{
							color: #A8A9AB;
							font-size: 24upx;
						}
					}
				}
			}
			.header{
				display: flex;
				justify-content: space-between;
				font-size: 36upx;
				line-height: 36upx;
				color: #323332;
				font-weight: bold;
				align-items: center;
				image{
					width: 27upx;
					height:27upx;
				}
			}
			.list-need{
				margin-top: 32upx;
				display: flex;
				font-size: 30upx;
				color: #323332;
				.icon{
					font-size: 26upx;
					font-weight: bold;
					color: #FF7221;
					width: 140upx;
					height: 44upx;
					line-height: 44upx;
					flex-shrink: 0;
					background: rgba(255, 114, 33, .15);
					text-align: center;
					margin-right: 20upx;
				}
			}
			.last{
				padding-bottom: 34upx;
				border-bottom: 1px solid rgba(190, 193, 196, .25);
			}
			.explain-list{
				color: #323332;
				font-size: 30upx;
				line-height: 30upx;
				border-bottom: 1px solid rgba(190, 193, 196, .25);
				.title{
					font-size: 34upx;
					font-weight: bold;
					line-height: 34upx;
					padding: 30upx 0;
					display: block;
				}
				view{
					display: flex;
					margin-bottom: 30upx;
					text{
						&:first-of-type{
							margin-right: 34upx;
							flex-shrink: 0;
						}
					}
				}
			}
			.btn-group{
				margin: 58upx 0;
				display: flex;
				justify-content: space-between;
				font-size: 30upx;
				color: #323332;
				font-weight: bold;
				text-align: center;
				view{
					width: 320upx;
					height: 112upx;
					background: -webkit-linear-gradient(45deg,#0DDDF6, #1DEB96);
					border-radius: 10upx;
					border: 1px solid #fff;
					display: flex;
					align-items: center;
					justify-content: center;
					view{
						background: #fff;
						width: 312upx;
						height: 104upx;
						border-radius: 6upx;
						background: #fff;
						line-height: 104upx;
						display: flex;
						align-items: center;
						image{
							width: 30upx;
							height: 30upx;
						}
					}
				}
			}
			.total-money{
				display: flex;
				justify-content: space-between;
				border-top: 1px solid rgba(190, 193, 196, .25);
				position: absolute;
				width: 100%;
				left: 0;
				padding: 16upx 30upx;
				.btn{
					width: 260upx;
					height: 80upx;
					background: #FE9F1C;
					border-radius: 40upx;
					font-size: 34upx;
					line-height: 80upx;
					color: #fff;
					text-align: center;
				}
				.money{
					display: flex;
					flex-direction: column;
					.price{
						font-size: 20upx;
						font-weight: bold;
						color: #A8A9AB;
						i{
							font-style: normal;
						}
						text{
							&:first-of-type{
								color: #FF7221;
								i{
									font-size: 40upx;
								}
							}
							&:last-of-type{
								i{
									text-decoration: line-through;
								}
							}
						}
					}
					.discount{
						font-size: 20upx;
						line-height: 20upx;
						color: #FF7221;
						text-align: center;
						padding-top: 12upx;
					}
				}
			}
		}
	}
</style>
